package mystia.lorelei.app.repository;
import mystia.lorelei.app.entity.Member;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MemberRepository extends JpaRepository<Member,Integer> {
	@Query(value = "delete from member m where m.id in ?1",nativeQuery = true)
	void deleteAllByIds(List<Integer> ids);
}
